const { createProxyMiddleware:proxy } = require('http-proxy-middleware');
module.exports = (app) =>{
    app.use(
        '/admin',
        proxy({
            target:
            'http://118.178.238.19:3001/',
            changeOrigin:true
        })
    )
}